package crmdna.common.contact;

import java.util.ArrayList;
import java.util.List;

public class ValidationResultProp {
	public int numEntries;
	public int numErrors;
	public int numWarnings;
	public List<String> errors = new ArrayList<>();
	public List<String> warnings = new ArrayList<>();
	
	public boolean hasErrors() {
		return errors.size() != 0;
	}
	
	public boolean hasWarnings() {
		return warnings.size() != 0;
	}
}
